package main

/*
#include "gloox_in_c.h"
*/
import "C"

import (
	"log"

	"github.com/kitech/colog"
)

func init() {
	log.SetFlags(log.Flags() | log.Lshortfile | log.Ldate | log.Ltime)
	colog.SetFlags(log.Flags())
	colog.Register()
}

func main3() {
	// C.gloox_demo()
	jid := C.gloox_JID_new(C.CString(username))
	cli := C.gloox_client_new(jid, C.CString(password))
	cok := C.gloox_client_connect(cli, 1)
	log.Println(cok)
	select {}
}
